#pragma once
#include"FysicsEngine/objects/Item.h"

namespace Fysics
{
	class Light :public Item {
	public:
		glm::vec3 m_Color;

		Light(
			glm::vec3 Position,
			glm::vec3 Color
		);

		void SetPos(glm::vec3 Position) { m_Position = Position; }
		void SetColor(glm::vec3 Color) { m_Color = Color; }

		glm::vec3 GetColor() const { return m_Color; }

		inline ObjectType GetType() const override { return ObjectType::type_Light; }

		virtual void ShowEditPanel() override;
		virtual void Draw() override;
		virtual void Run(Timestep time) override;
	};
}